Optimal. Leaf size=75 \[ \frac {b (b B-A c) x^2}{2 c^3}-\frac {(b B-A c) x^4}{4 c^2}+\frac {B x^6}{6 c}-\frac {b^2 (b B-A c) \log \left (b+c x^2\right )}{2 c^4} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 75, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {1598, 457, 78}
\begin {gather*} -\frac {b^2 (b B-A c) \log \left (b+c x^2\right )}{2 c^4}+\frac {b x^2 (b B-A c)}{2 c^3}-\frac {x^4 (b B-A c)}{4 c^2}+\frac {B x^6}{6 c} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 78
Rule 457
Rule 1598
Rubi steps
\begin {align*} \int \frac {x^7 \left (A+B x^2\right )}{b x^2+c x^4} \, dx &=\int \frac {x^5 \left (A+B x^2\right )}{b+c x^2} \, dx\\ &=\frac {1}{2} \text {Subst}\left (\int \frac {x^2 (A+B x)}{b+c x} \, dx,x,x^2\right )\\ &=\frac {1}{2} \text {Subst}\left (\int \left (\frac {b (b B-A c)}{c^3}+\frac {(-b B+A c) x}{c^2}+\frac {B x^2}{c}-\frac {b^2 (b B-A c)}{c^3 (b+c x)}\right ) \, dx,x,x^2\right )\\ &=\frac {b (b B-A c) x^2}{2 c^3}-\frac {(b B-A c) x^4}{4 c^2}+\frac {B x^6}{6 c}-\frac {b^2 (b B-A c) \log \left (b+c x^2\right )}{2 c^4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 71, normalized size = 0.95 \begin {gather*} \frac {c x^2 \left (6 b^2 B-3 b c \left (2 A+B x^2\right )+c^2 x^2 \left (3 A+2 B x^2\right )\right )+6 b^2 (-b B+A c) \log \left (b+c x^2\right )}{12 c^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.38, size = 74, normalized size = 0.99
method | result | size |
norman | \(\frac {\frac {B \,x^{7}}{6 c}+\frac {\left (A c -B b \right ) x^{5}}{4 c^{2}}-\frac {b \left (A c -B b \right ) x^{3}}{2 c^{3}}}{x}+\frac {b^{2} \left (A c -B b \right ) \ln \left (c \,x^{2}+b \right )}{2 c^{4}}\) | \(73\) |
default | \(-\frac {-\frac {1}{3} B \,c^{2} x^{6}-\frac {1}{2} A \,c^{2} x^{4}+\frac {1}{2} x^{4} b B c +A b c \,x^{2}-b^{2} B \,x^{2}}{2 c^{3}}+\frac {b^{2} \left (A c -B b \right ) \ln \left (c \,x^{2}+b \right )}{2 c^{4}}\) | \(74\) |
risch | \(\frac {B \,x^{6}}{6 c}+\frac {A \,x^{4}}{4 c}-\frac {x^{4} b B}{4 c^{2}}-\frac {A b \,x^{2}}{2 c^{2}}+\frac {b^{2} B \,x^{2}}{2 c^{3}}+\frac {b^{2} \ln \left (c \,x^{2}+b \right ) A}{2 c^{3}}-\frac {b^{3} \ln \left (c \,x^{2}+b \right ) B}{2 c^{4}}\) | \(86\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.29, size = 74, normalized size = 0.99 \begin {gather*} \frac {2 \, B c^{2} x^{6} - 3 \, {\left (B b c - A c^{2}\right )} x^{4} + 6 \, {\left (B b^{2} - A b c\right )} x^{2}}{12 \, c^{3}} - \frac {{\left (B b^{3} - A b^{2} c\right )} \log \left (c x^{2} + b\right )}{2 \, c^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.61, size = 75, normalized size = 1.00 \begin {gather*} \frac {2 \, B c^{3} x^{6} - 3 \, {\left (B b c^{2} - A c^{3}\right )} x^{4} + 6 \, {\left (B b^{2} c - A b c^{2}\right )} x^{2} - 6 \, {\left (B b^{3} - A b^{2} c\right )} \log \left (c x^{2} + b\right )}{12 \, c^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.16, size = 70, normalized size = 0.93 \begin {gather*} \frac {B x^{6}}{6 c} - \frac {b^{2} \left (- A c + B b\right ) \log {\left (b + c x^{2} \right )}}{2 c^{4}} + x^{4} \left (\frac {A}{4 c} - \frac {B b}{4 c^{2}}\right ) + x^{2} \left (- \frac {A b}{2 c^{2}} + \frac {B b^{2}}{2 c^{3}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.64, size = 77, normalized size = 1.03 \begin {gather*} \frac {2 \, B c^{2} x^{6} - 3 \, B b c x^{4} + 3 \, A c^{2} x^{4} + 6 \, B b^{2} x^{2} - 6 \, A b c x^{2}}{12 \, c^{3}} - \frac {{\left (B b^{3} - A b^{2} c\right )} \log \left ({\left | c x^{2} + b \right |}\right )}{2 \, c^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.09, size = 76, normalized size = 1.01 \begin {gather*} x^4\,\left (\frac {A}{4\,c}-\frac {B\,b}{4\,c^2}\right )+\frac {B\,x^6}{6\,c}-\frac {\ln \left (c\,x^2+b\right )\,\left (B\,b^3-A\,b^2\,c\right )}{2\,c^4}-\frac {b\,x^2\,\left (\frac {A}{c}-\frac {B\,b}{c^2}\right )}{2\,c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________